package com.amoby.main.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.amoby.main.entity.Channel;
import com.amoby.main.mapper.ChannelMapper;
import com.amoby.main.service.ChannelService;

/**
 * @desc:渠道service
 * @author Lasing 2016-6-7 上午10:35:26
 * @version V1.0
 */
@Service
public class ChannelServiceImpl implements ChannelService {
    @Autowired
    private ChannelMapper channelMapper;
    
    @Override
    public Channel getChannelByUserId(Integer userId) {
        return channelMapper.getChannelByUserId(userId);
    }
    
}
